<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>网站信息</title>  
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>  
</head>
<script type="text/javascript">
function queryStatus(){
	var url = "order/querystatus";
	$.ajax({
	    type: "get",
	    url: url,
	    data: "",
	    cache: false,
	    async : false,
	    dataType: "json",
	    success: function (data,textStatus){
    		if(data){
    			 var tablet = $("#syncdiv");
	             var rowt = $("<label class='button active'>");
	             var tdt0 = $("<span class='icon icon-check'></span>");
	             var tdt1 = $("<input name='isshow' value='1'  type='radio'>是");
	             var tdt2 = $("</label>");

	             rowt.append(tdt0);
	             rowt.append(tdt1);
	             rowt.append(tdt2);
	             tablet.append(rowt); 
    		}else{
    			 var tablet = $("#syncdiv");
	             var rowt = $("<label class='button active'>");
	             var tdt0 = $("<span class='icon icon-times'></span>");
	             var tdt1 = $("<input name='isshow' value='1' type='radio'>");
	             var tdt2 = $("<label ><font color='red'>&nbsp;&nbsp;&nbsp;&nbsp;请切换服务器核对最新上线的订单排期</font></label>");
	             var tdt3 = $("</label>");

	             rowt.append(tdt0);
	             rowt.append(tdt1);
	             rowt.append(tdt2);
	             rowt.append(tdt3);
	             tablet.append(rowt); 
    		}
	    }
	 });
}
document.write("【"+returnCitySN["cip"]+','+returnCitySN["cname"]+"】");
</script>
<body onload="queryStatus()">
<div class="panel admin-panel margin-top">
  <div class="panel-head" id="add"><strong><span class="icon-reorder"></span>服务器状态</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="">   
    <div class="form-group">
        <div class="label">
          <label>从广告系统同步订单：</label>
        </div>
         <div class="button-group radio" id="syncdiv">

        </div>
     </div>
     <div class="form-group">
       <div class="label">
          <label>模拟订单：</label>
        </div>
         <div class="button-group radio">
          <label class="button active">
         	  <span class="icon icon-check"></span>             
              <input name="isshow" value="1" type="radio">
          </label>             
       </div>
     </div>
     
    </form>
  </div>
</div>
</body>
</html>